﻿//using System.Collections.Generic;
//using System.Windows.Forms;
//using System.Drawing;
//using UtfprLibrary.Windows.Forms.ComponentModel;
//using System.ComponentModel;

//namespace UtfprLibrary.Windows.Forms {
//    /// <summary>
//    /// TODO
//    /// </summary>
//    [DefaultProperty("InitialValuedControlCollection")]
//    public abstract class UBNInitialValueProviderBase : Component {
//        /// <summary>
//        /// TODO
//        /// </summary>
//        public UBNInitialValueProviderBase() {
//            _validatableControlCollection = new UBNInitialValuedControlCollection();
//        }

//        private UtfprBindingNavigatorBase _utfprBindingNavigator;
//        /// <summary>
//        /// TODO
//        /// </summary>
//        [Category("Behavior")]
//        [Description("Coleção de controles marcados para a validação")]
//        public UtfprBindingNavigatorBase UtfprBindingNavigator {
//            get { return _utfprBindingNavigator; }
//            set {
//                if (InitialValuedControlCollection != null) {
//                    InitialValuedControlCollection.Clear();
//                }
//                _utfprBindingNavigator = value;
//            }
//        }

//        private UBNInitialValuedControlCollection _validatableControlCollection;
//        /// <summary>
//        /// TODO
//        /// </summary>
//        [Category("Behavior")]
//        [Description("Coleção de controles a serem validados")]
//        [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
//        public UBNInitialValuedControlCollection InitialValuedControlCollection {
//            get { return _validatableControlCollection; }
//            set { _validatableControlCollection = value; }
//        }

//        /// <summary>
//        /// TODO
//        /// </summary>
//        protected abstract void BindInitialValues();
//    }
//}
